package com.ruoyi.dmpdatacollect.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据采集源对象 dmp_dcollect_ds
 * 
 * @author MquanZeng
 * @date 2021-12-16
 */
public class DmpDcollectDs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer dsId;

    /** 数据源类型 */
    @Excel(name = "数据源类型")
    private String dsType;

    /** 连接名称 */
    @Excel(name = "连接名称")
    private String dsName;

    /** 描述 */
    @Excel(name = "描述")
    private String dsDesc;

    /** 驱动名称 */
    @Excel(name = "驱动名称")
    private String dsDriver;

    /** 连接地址 */
    @Excel(name = "连接地址")
    private String dsUrl;

    /** 连接用户名 */
    @Excel(name = "连接用户名")
    private String dsUsername;

    /** 连接密码 */
    @Excel(name = "连接密码")
    private String dsPassword;

    public void setDsId(Integer dsId) 
    {
        this.dsId = dsId;
    }

    public Integer getDsId() 
    {
        return dsId;
    }
    public void setDsType(String dsType) 
    {
        this.dsType = dsType;
    }

    public String getDsType() 
    {
        return dsType;
    }
    public void setDsName(String dsName) 
    {
        this.dsName = dsName;
    }

    public String getDsName() 
    {
        return dsName;
    }
    public void setDsDesc(String dsDesc) 
    {
        this.dsDesc = dsDesc;
    }

    public String getDsDesc() 
    {
        return dsDesc;
    }
    public void setDsDriver(String dsDriver) 
    {
        this.dsDriver = dsDriver;
    }

    public String getDsDriver() 
    {
        return dsDriver;
    }
    public void setDsUrl(String dsUrl) 
    {
        this.dsUrl = dsUrl;
    }

    public String getDsUrl() 
    {
        return dsUrl;
    }
    public void setDsUsername(String dsUsername) 
    {
        this.dsUsername = dsUsername;
    }

    public String getDsUsername() 
    {
        return dsUsername;
    }
    public void setDsPassword(String dsPassword) 
    {
        this.dsPassword = dsPassword;
    }

    public String getDsPassword() 
    {
        return dsPassword;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dsId", getDsId())
            .append("dsType", getDsType())
            .append("dsName", getDsName())
            .append("dsDesc", getDsDesc())
            .append("dsDriver", getDsDriver())
            .append("dsUrl", getDsUrl())
            .append("dsUsername", getDsUsername())
            .append("dsPassword", getDsPassword())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
